package com.huang.app.demo4

import android.os.Bundle
import android.view.LayoutInflater
import com.alibaba.android.arouter.facade.annotation.Route
import com.blankj.utilcode.util.BarUtils
import com.huang.app.BR
import com.huang.app.R
import com.huang.app.databinding.ActivityDemo4Binding
import com.huang.mvvm.activity.BaseActivity
import com.huang.router.router.AppRouter

@Route(path = AppRouter.DEMO4_ACTIVITY)
class Demo4Activity : BaseActivity<ActivityDemo4Binding, Demo4ViewModel>() {
    override fun getLayoutId(inflater: LayoutInflater, savedInstanceState: Bundle?): Int =
        R.layout.activity_demo4

    override fun getViewModelId(): Int = BR.viewModel


    override fun initView() {
        super.initView()
        BarUtils.addMarginTopEqualStatusBarHeight(binding.viewStatusBar)
    }

}